<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.flying.dcss.app.SessionName"%>
<%@page import="com.flying.dcss.userpermissions.bo.impl.DcssUser"%>

<%
	DcssUser user = (DcssUser) session
			.getAttribute(SessionName.UserSession);
%>
<html>
	<head>
		<link rel="stylesheet" href="style/css7.css" />
	</head>
	<body>
		<div class="contentcontainer">
			<input type="button" id="currentUserId" value="<%=user.getId()%>"
				style="display: none"></input>
			<dl>
				<dt class="title">
					申请表查看：
				</dt>
			</dl>
			<p class="part" style=" margin-right: 20px;">
				<span class="spanstyle"">状态：</span>
				<select id="orderType" class="sel">
					<option value="0" selected>
						全部
					</option>
					<option value="1">
						待审核
					</option>
					<option value="2">
						未通过
					</option>
					<option value="3">
						通过
					</option>
				</select>
			</p>
			<br />
			<div style="clear: both"></div>
			<p class="part">
				<label for="smallbox" class="exp">
					城市：
				</label>
				<select name="" id="citySelect"
					onchange="getBuildingInfo(this.options[this.selectedIndex].value);"
					class="sel"><option>无相关信息</option></select>
			</p>
			<p class="part">
				<label for="smallbox" class="exp">
					建筑名：
				</label>
				<select name="" class="sel" id="buildingSelect"
					onchange="getFloorInfo(this.options[this.selectedIndex].value);">
					<option>请先选择前置条件</option></select>
			</p>
			<p class="part">
				<label for="smallbox" class="exp">
					楼层：
				</label>
				<select name="" id="floorSelect" class="sel"
					onchange="getDCInfoSelect(this.options[this.selectedIndex].value);">
					<option>请先选择前置条件</option></select>
			</p>
			<br />

			<p class="part">
				<label for="smallbox" class="exp">
					门禁：
				</label>
				<select name="" class="sel" id="dcSelect"
					onchange="selectOrderByDcId(this.options[this.selectedIndex].value);">
					<option>请先选择前置条件</option></select>
			</p>

			<dl>
				<dt class="title">
					审批门禁：
				</dt>
			</dl>


			<table class="tstyle" id="orderList" style="margin-left: 25px;">

			</table>
		</div>
		<script language="javascript" type="text/javascript">
			var hl = document.getElementById("high2");
			hl.setAttribute("id", "active2");
			getCityInfo();
			selectOrderByApprover();
		</script>
	</body>
</html>